Pinwheel LLM
My first language model could tell a story about a dog. Asked to finish "The capital of France is," it told another story. I wanted to see how far I could take it with 50.7 million parameters and a graphics card with 16 GB of memory.
These seven posts follow the experiments from the first training run to the two models I kept for later work. I start with what the model reads and how its predictions are scored. Then I describe how I changed the training recipe and experimented with the layers, and what happened when the model read ten billion tokens. The last two posts look at what a smaller training run can learn from the finished model and how changing the reading material affects the skills it picks up.
- Teaching a 50M Model to Finish a Story
- Choosing a Learning Rate for a Billion Tokens
- What Helped at a Fixed Budget of One Billion Tokens?
- What Is a Second Pass Through the Same Layer Worth?
- What Happens When a 50M Model Reads Ten Billion Tokens?
- How Much Training Text Can a Teacher Model Save?
- Changing What the Model Reads in Its Last Two Billion Tokens
The experiment tree gives the settings and scores for individual runs. The training walkthrough follows a piece of text through a single training step. Experiment tree · Training walkthrough · Source code